package org.jcat.demo.designpattern.cate3.visitor;

public class Test {

	public static void main(String[] args) {

		Visitor visitor = new MyVisitor();
		Subject sub = new MySubject();
		sub.accept(visitor);
	}
}